package com.zdft.promotion.call.dto;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 入库库存处理
 *
 * @author wcy
 * @date 2019-10-25 15:26:36
 */
public class HandleEnterInvRpcModel implements Serializable {

    private static final long serialVersionUID = 1L;


    private Long id;
    /**
     * 仓储单元ID
     */
    private Long repoCellId;
    /**
     * 仓储单元类型 1：仓库 2：库区 3：货架 4：货层 5：货位
     */
    private Integer cellType;
    /**
     * 批次号
     */
    private Long batchNo;

    /**
     * Erp 批次号
     */
    private Long erpBatchNo;
    /**
     * 商品编号
     */
    private String commodityId;

    /**
     * 基本计量单位
     */
    private Integer unitId;
    /**
     * 待减/加数
     */
    private BigDecimal quantity;

    /**
     * 可发货数
     */
    private BigDecimal quantityDeliver;

    /**
     * 可卖数
     */
    private BigDecimal quantitySalable;

    /**
     * 成本单价
     */
    private BigDecimal unitCost;

    /**
     * 成本销售价
     */
    private BigDecimal unitPrice;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRepoCellId() {
        return repoCellId;
    }

    public void setRepoCellId(Long repoCellId) {
        this.repoCellId = repoCellId;
    }

    public Integer getCellType() {
        return cellType;
    }

    public void setCellType(Integer cellType) {
        this.cellType = cellType;
    }

    public Long getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(Long batchNo) {
        this.batchNo = batchNo;
    }

    public Long getErpBatchNo() {
        return erpBatchNo;
    }

    public void setErpBatchNo(Long erpBatchNo) {
        this.erpBatchNo = erpBatchNo;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getUnitCost() {
        return unitCost;
    }

    public void setUnitCost(BigDecimal unitCost) {
        this.unitCost = unitCost;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public BigDecimal getQuantityDeliver() {
        return quantityDeliver;
    }

    public void setQuantityDeliver(BigDecimal quantityDeliver) {
        this.quantityDeliver = quantityDeliver;
    }

    public BigDecimal getQuantitySalable() {
        return quantitySalable;
    }

    public void setQuantitySalable(BigDecimal quantitySalable) {
        this.quantitySalable = quantitySalable;
    }
}
